/**
 * Project: cmbank-dao
 * 
 * File Created at Oct 24, 2011
 * $Id$
 * 
 * Copyright 2008 6677bank.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * 6677bank Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with 6677bank.com.
 */
package com.bank6677.sync.csm.domain;

import java.util.Date;
import java.util.List;

/**
 * 申请单
 * 
 * @author liyue
 * @version Application.java Oct 24, 2011 4:04:41 PM
 */
public class Application extends Order {

    private Long                      applyId;                   //主键

    private String                    tableName;

    private String                    modelIds;

    private Long                      institutionServiceMapId;

    private String                    iwUserId;

    private Long                      applyAmount;

    private String                    account;

    private String                    remark;

    private String                    proStat;

    private Date                      createDt;                  //创建时间

    private Date                      updateDt;                  //更新时间

    private Date                      verifyTime;

    private Date                      kfslTime;

    private Integer                   lastModifyAdminId;

    private Long                      areaId;

    private Long                      successAmount;

    private Integer                   loanPurpose;

    private Integer                   loanTime;

    private String                    lastProStat;

    private String                    acceptServiceInstitutionId;

    private String                    linkPhone;

    private String                    linkMan;

    private Integer                   appType;                   //贷款类型1流转中2回收站3客户池

    private Integer                   adminId;

    private Integer                   agenterId;

    private String                    processStat;

    private String                    validType;

    private String                    isValidUser;

    private String                    sourceType;                //2产品通道 是自动提交

    private Integer                   loanType;

    private Integer                   verifyUser;

    private Integer                   sendUser;

    private Integer                   verifyTimes;               //审核次数

    private String                    certNo;                    //身份证号

    private Integer                   certifScore;               //信用认证总分

    private String                    certifLevel;               //认证信用等级

    private Integer                   evaluateScore;             //意向评估总分

    private String                    evaluateLevel;             //意向评估等级

    private String                    certifRemark;              //认证总结

    private Integer                   subject;                   //贷款主体

    private List<UrgeApp>             urges;                     //催缴
    private List<ApplicationStatFlow> flows;                     //操作日志
    private List<DropApplication>     drops;                     //弃单记录
    private List<Reservation>         reservations;              //预约记录
    private List<SendInstitutionFlow> sendFlow;                  //派发机构流水
    private ApplicationExt            ext;
    
    

    /**
     * @return the ext
     */
    public ApplicationExt getExt() {
        return ext;
    }

    /**
     * @param ext the ext to set
     */
    public void setExt(ApplicationExt ext) {
        this.ext = ext;
    }

    /**
     * @return the sendFlow
     */
    public List<SendInstitutionFlow> getSendFlow() {
        return sendFlow;
    }

    /**
     * @param sendFlow the sendFlow to set
     */
    public void setSendFlow(List<SendInstitutionFlow> sendFlow) {
        this.sendFlow = sendFlow;
    }

    /**
     * @return the drops
     */
    public List<DropApplication> getDrops() {
        return drops;
    }

    /**
     * @param drops the drops to set
     */
    public void setDrops(List<DropApplication> drops) {
        this.drops = drops;
    }

    /**
     * @return the reservations
     */
    public List<Reservation> getReservations() {
        return reservations;
    }

    /**
     * @param reservations the reservations to set
     */
    public void setReservations(List<Reservation> reservations) {
        this.reservations = reservations;
    }

    /**
     * @return the urges
     */
    public List<UrgeApp> getUrges() {
        return urges;
    }

    /**
     * @param urges the urges to set
     */
    public void setUrges(List<UrgeApp> urges) {
        this.urges = urges;
    }

    /**
     * @return the flows
     */
    public List<ApplicationStatFlow> getFlows() {
        return flows;
    }

    /**
     * @param flows the flows to set
     */
    public void setFlows(List<ApplicationStatFlow> flows) {
        this.flows = flows;
    }

    /**
     * 状态名
     * 
     * @return
     */
    public String getStatusText() {

        return "";
    }

    /**
     * @return the applyId
     */
    public Long getApplyId() {
        return applyId;
    }

    /**
     * @param applyId the applyId to set
     */
    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    /**
     * @return the tableName
     */
    public String getTableName() {
        return tableName;
    }

    /**
     * @param tableName the tableName to set
     */
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    /**
     * @return the modelIds
     */
    public String getModelIds() {
        return modelIds;
    }

    /**
     * @param modelIds the modelIds to set
     */
    public void setModelIds(String modelIds) {
        this.modelIds = modelIds;
    }

    /**
     * @return the institutionServiceMapId
     */
    public Long getInstitutionServiceMapId() {
        return institutionServiceMapId;
    }

    /**
     * @param institutionServiceMapId the institutionServiceMapId to set
     */
    public void setInstitutionServiceMapId(Long institutionServiceMapId) {
        this.institutionServiceMapId = institutionServiceMapId;
    }

    /**
     * @return the iwUserId
     */
    public String getIwUserId() {
        return iwUserId;
    }

    /**
     * @param iwUserId the iwUserId to set
     */
    public void setIwUserId(String iwUserId) {
        this.iwUserId = iwUserId;
    }

    /**
     * @return the applyAmount
     */
    public Long getApplyAmount() {
        return applyAmount;
    }

    /**
     * @param applyAmount the applyAmount to set
     */
    public void setApplyAmount(Long applyAmount) {
        this.applyAmount = applyAmount;
    }

    /**
     * @return the account
     */
    public String getAccount() {
        return account;
    }

    /**
     * @param account the account to set
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * @return the remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark the remark to set
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return the proStat
     */
    public String getProStat() {
        return proStat;
    }

    /**
     * @param proStat the proStat to set
     */
    public void setProStat(String proStat) {
        this.proStat = proStat;
    }

    /**
     * @return the createDt
     */
    public Date getCreateDt() {
        return createDt;
    }

    /**
     * @param createDt the createDt to set
     */
    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    /**
     * @return the updateDt
     */
    public Date getUpdateDt() {
        return updateDt;
    }

    /**
     * @param updateDt the updateDt to set
     */
    public void setUpdateDt(Date updateDt) {
        this.updateDt = updateDt;
    }

    /**
     * @return the verifyTime
     */
    public Date getVerifyTime() {
        return verifyTime;
    }

    /**
     * @param verifyTime the verifyTime to set
     */
    public void setVerifyTime(Date verifyTime) {
        this.verifyTime = verifyTime;
    }

    /**
     * @return the kfslTime
     */
    public Date getKfslTime() {
        return kfslTime;
    }

    /**
     * @param kfslTime the kfslTime to set
     */
    public void setKfslTime(Date kfslTime) {
        this.kfslTime = kfslTime;
    }

    /**
     * @return the lastModifyAdminId
     */
    public Integer getLastModifyAdminId() {
        return lastModifyAdminId;
    }

    /**
     * @param lastModifyAdminId the lastModifyAdminId to set
     */
    public void setLastModifyAdminId(Integer lastModifyAdminId) {
        this.lastModifyAdminId = lastModifyAdminId;
    }

    /**
     * @return the areaId
     */
    public Long getAreaId() {
        return areaId;
    }

    /**
     * @param areaId the areaId to set
     */
    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    /**
     * @return the successAmount
     */
    public Long getSuccessAmount() {
        return successAmount;
    }

    /**
     * @param successAmount the successAmount to set
     */
    public void setSuccessAmount(Long successAmount) {
        this.successAmount = successAmount;
    }

    /**
     * @return the loanPurpose
     */
    public Integer getLoanPurpose() {
        return loanPurpose;
    }

    /**
     * @param loanPurpose the loanPurpose to set
     */
    public void setLoanPurpose(Integer loanPurpose) {
        this.loanPurpose = loanPurpose;
    }

    /**
     * @return the loanTime
     */
    public Integer getLoanTime() {
        return loanTime;
    }

    /**
     * @param loanTime the loanTime to set
     */
    public void setLoanTime(Integer loanTime) {
        this.loanTime = loanTime;
    }

    /**
     * @return the lastProStat
     */
    public String getLastProStat() {
        return lastProStat;
    }

    /**
     * @param lastProStat the lastProStat to set
     */
    public void setLastProStat(String lastProStat) {
        this.lastProStat = lastProStat;
    }

    /**
     * @return the acceptServiceInstitutionId
     */
    public String getAcceptServiceInstitutionId() {
        return acceptServiceInstitutionId;
    }

    /**
     * @param acceptServiceInstitutionId the acceptServiceInstitutionId to set
     */
    public void setAcceptServiceInstitutionId(String acceptServiceInstitutionId) {
        this.acceptServiceInstitutionId = acceptServiceInstitutionId;
    }

    /**
     * @return the linkPhone
     */
    public String getLinkPhone() {
        return linkPhone;
    }

    /**
     * @param linkPhone the linkPhone to set
     */
    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    /**
     * @return the linkMan
     */
    public String getLinkMan() {
        return linkMan;
    }

    /**
     * @param linkMan the linkMan to set
     */
    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    /**
     * @return the appType
     */
    public Integer getAppType() {
        return appType;
    }

    /**
     * @param appType the appType to set
     */
    public void setAppType(Integer appType) {
        this.appType = appType;
    }

    /**
     * @return the adminId
     */
    public Integer getAdminId() {
        return adminId;
    }

    /**
     * @param adminId the adminId to set
     */
    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    /**
     * @return the agenterId
     */
    public Integer getAgenterId() {
        return agenterId;
    }

    /**
     * @param agenterId the agenterId to set
     */
    public void setAgenterId(Integer agenterId) {
        this.agenterId = agenterId;
    }

    /**
     * @return the processStat
     */
    public String getProcessStat() {
        return processStat;
    }

    /**
     * @param processStat the processStat to set
     */
    public void setProcessStat(String processStat) {
        this.processStat = processStat;
    }

    /**
     * @return the validType
     */
    public String getValidType() {
        return validType;
    }

    /**
     * @param validType the validType to set
     */
    public void setValidType(String validType) {
        this.validType = validType;
    }

    /**
     * @return the isValidUser
     */
    public String getIsValidUser() {
        return isValidUser;
    }

    /**
     * @param isValidUser the isValidUser to set
     */
    public void setIsValidUser(String isValidUser) {
        this.isValidUser = isValidUser;
    }

    /**
     * @return the sourceType
     */
    public String getSourceType() {
        return sourceType;
    }

    /**
     * @param sourceType the sourceType to set
     */
    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    /**
     * @return the loanType
     */
    public Integer getLoanType() {
        return loanType;
    }

    /**
     * @param loanType the loanType to set
     */
    public void setLoanType(Integer loanType) {
        this.loanType = loanType;
    }

    /**
     * @return the verifyUser
     */
    public Integer getVerifyUser() {
        return verifyUser;
    }

    /**
     * @param verifyUser the verifyUser to set
     */
    public void setVerifyUser(Integer verifyUser) {
        this.verifyUser = verifyUser;
    }

    /**
     * @return the sendUser
     */
    public Integer getSendUser() {
        return sendUser;
    }

    /**
     * @param sendUser the sendUser to set
     */
    public void setSendUser(Integer sendUser) {
        this.sendUser = sendUser;
    }

    /**
     * @return the verifyTimes
     */
    public Integer getVerifyTimes() {
        return verifyTimes;
    }

    /**
     * @param verifyTimes the verifyTimes to set
     */
    public void setVerifyTimes(Integer verifyTimes) {
        this.verifyTimes = verifyTimes;
    }

    /**
     * @return the certNo
     */
    public String getCertNo() {
        return certNo;
    }

    /**
     * @param certNo the certNo to set
     */
    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    /**
     * @return the certifScore
     */
    public Integer getCertifScore() {
        return certifScore;
    }

    /**
     * @param certifScore the certifScore to set
     */
    public void setCertifScore(Integer certifScore) {
        this.certifScore = certifScore;
    }

    /**
     * @return the certifLevel
     */
    public String getCertifLevel() {
        return certifLevel;
    }

    /**
     * @param certifLevel the certifLevel to set
     */
    public void setCertifLevel(String certifLevel) {
        this.certifLevel = certifLevel;
    }

    /**
     * @return the evaluateScore
     */
    public Integer getEvaluateScore() {
        return evaluateScore;
    }

    /**
     * @param evaluateScore the evaluateScore to set
     */
    public void setEvaluateScore(Integer evaluateScore) {
        this.evaluateScore = evaluateScore;
    }

    /**
     * @return the evaluateLevel
     */
    public String getEvaluateLevel() {
        return evaluateLevel;
    }

    /**
     * @param evaluateLevel the evaluateLevel to set
     */
    public void setEvaluateLevel(String evaluateLevel) {
        this.evaluateLevel = evaluateLevel;
    }

    /**
     * @return the certifRemark
     */
    public String getCertifRemark() {
        return certifRemark;
    }

    /**
     * @param certifRemark the certifRemark to set
     */
    public void setCertifRemark(String certifRemark) {
        this.certifRemark = certifRemark;
    }

    /**
     * @return the subject
     */
    public Integer getSubject() {
        return subject;
    }

    /**
     * @param subject the subject to set
     */
    public void setSubject(Integer subject) {
        this.subject = subject;
    }

    @Override
    public String toString() {
        return String.valueOf(this.applyId);
    }
}
